<div class="container">
	<div class="row">
		<div class="col-sm-offset-2 col-sm-8 mainbar">
	<div class="detail">
	    <h2><?php echo __('Reset Password'); ?></h2>
	    <hr/>
	    <p> <?php echo sprintf(__('Hello %s'), $user['User']['username']); ?> </p>
	    <p>{{__('reset_password_tips')}}</p>
	    <hr/>
	    <?php echo $this->Form->create('User', array(
			'url' => array('controller' => 'users', 'action' => 'reset', $uid, $key),
			'class'=>'form-horizontal'
		) );?>
			
				{{$this->Session->flash()}}
				
	        <fieldset>
	        <div class="form-group">
		        <label class="col-sm-2 control-label">{{__('Password')}}</label>
			    <div class="col-sm-8">
			      <input type="password"  minlength="6" required placeholder="{{__('Password')}}" class="form-control margin-bottom-xs" maxlength="15" name="data[User][password]">
			    </div>
		    </div>
		     <div class="form-group">
						<label class="col-sm-2 txt-left"></label>
						<div class="col-sm-9"><input class="btn btn-primary" type="submit" value="{{__('Reset Password')}}"></div>
			</div>
	        </fieldset>
	    </form>
	</div>
		</div>
	</div>
</div>